package DB;

import Model.Team;

import java.util.ArrayList;

public interface TeamDBIF {

    //Insert team
    public int insertTeam(Team team);

    //Find team
    public Team findTeam (int id);

    //Find team by name
    public Team findTeamByName(String name);

    //Find all teams
    public ArrayList<Team> getAllTeams(boolean retrieveAssociation);

    //Update team
    public int updateTeam(Team team);

    //Delete team
    public int deleteTeam(int id);
}
